var depts = [{
    id: 1,
    name: 'dev'
},
    {
        id: 2,
        name: 'test'
    }, {
        id: 3,
        name: 'hr'
    }]


var jobs = [
    {
        id: 1,
        name: '普通员工'
    }, {
        id: 2,
        name: '副经理'
    }, {
        id: 3,
        name: '经理'
    }
]

var states = [
    {
        id: 1,
        name: '在职'
    }, {
        id: 2,
        name: '离职'
    }
]

var empployees = Mock.mock({
    "list|5": [{
        "id|+1": 1,
        "name": "@cname",
        "dept|1": depts,
        "job|1":jobs,
        "state":{
            id:1,
            name:'在职'
        }

    }]
})